package com.supermap.dataservice.deviceinfo.dao;

import com.supermap.dubbo.api.deviceinfo.entity.Station;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author:langhongshuai
 * @Description:站点数据访问层
 * @Date:18/5/14 下午5:44
 */
@Mapper
public interface StationDao {

    @Select("Select * from ssr_zgb_003_r where Time=#{time} and Mac = #{mac} limit 1")
    Station getStationByDeviceIdAndDate(@Param("time") String time, @Param("mac") String mac);
}
